package club.chenlinghong.product.util;

import club.chenlinghong.product.vo.ResultVO;

/**
 * @Description TODO
 * @Author chenlinghong
 * @Date 2019/6/18 17:14
 * @Version V1.0
 */
public class ResultVOUtil {

    public static ResultVO success(Object object){
        ResultVO resultVO = new ResultVO();
        resultVO.setCode(0);
        resultVO.setMessage("success");
        resultVO.setData(object);
        return resultVO;
    }
}
